/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package desu.nya.animepersistance.dao.impl;

import desu.nya.animepersistance.dao.CoverDao;
import desu.nya.animepersistance.model.Cover;
import desu.nya.animepersistance.utils.AnimeHibDaoSupport;
import org.springframework.stereotype.Repository;

/**
 *
 * @author ievstratov
 */
@Repository("CoverDAO")
public class CoverDaoImpl extends AnimeHibDaoSupport implements CoverDao{

    @Override
    public void save(Cover cover) {
        getHibernateTemplate().save(cover);
    }

    @Override
    public void update(Cover cover) {
        getHibernateTemplate().update(cover);
    }

    @Override
    public void delete(Cover cover) {
        getHibernateTemplate().delete(cover);
    }
    
}
